vpmu intel: Better names and replacing numerals with defines
authorDietmar Hahn <dietmar.hahn@ts.fujitsu.com>
Mon, 8 Apr 2013 15:55:49 +0000 (17:55 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 8 Apr 2013 15:55:49 +0000 (17:55 +0200)
commit7ad0f74356cb45d5904cc3726fb552cecc9fe16f
tree5aed132d4db9578d3157b6383e677392e994a3bf
parent5753fe1c92efb3cc0142dadf8c82d5fb9ea80418
vpmu intel: Better names and replacing numerals with defines

This patch renames core2_counters to core2_fix_counters for better
understanding the code and subtitutes 2 numerals with defines in fixed counter
handling.

Signed-off-by: Dietmar Hahn <dietmar.hahn@ts.fujitsu.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Jun Nakajima <jun.nakajima@intel.com>
xen/arch/x86/hvm/vmx/vpmu_core2.c
xen/include/asm-x86/hvm/vmx/vpmu_core2.h